## 运算符
"""
+
-
*
/
** 指数
%  取余
// 取整
"""

int_1 = 10
int_2 = 2
float_1 = 1.5
float_2 = 5.1
print("基础运算符：")
print("加:",int_1,"+",float_1,"=",int_1+float_1)
print("减:",int_1,"-",float_1,"=",int_1-float_1)
print("乘:",int_1,"*",float_1,"=",int_1*float_1)
print("除:",int_1,"/",float_1,"=",int_1/float_1)
print("指数:",int_2,"**",int_1,"=",int_2**int_1)
print("取余:",int_1,"%",float_1,"=",int_1%float_1)
print("取整:",int_1,"//",float_1,"=",int_1//float_1)
print("复合赋值运算符：")
num_1 = 2
print("num_1=",num_1)
num_1+=10
print("加:","num_1","+=10",":",num_1)
num_1-=1
print("减:","num_1","-=1",":",num_1)
num_1*=2
print("乘:","num_1","*=2",":",num_1)
num_1/=2.2
print("除:","num_1","/=2.2",":",num_1)
num_1**=2
print("指数:","num_1","**=2",":",num_1)
num_1%=8
print("取余:","num_1","%=8",":",num_1)
num_1//=3
print("取整:","num_1","//=3",":",num_1)
